package com.gitee.business.entity;

public class UserPo {
    private Long userId;

    private String userName;

    private String passwordHash;

    private Long passwordSalt;

    private Boolean passwordLogin;

    private Long optimisticLockVersion;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getPasswordHash() {
        return passwordHash;
    }

    public void setPasswordHash(String passwordHash) {
        this.passwordHash = passwordHash == null ? null : passwordHash.trim();
    }

    public Long getPasswordSalt() {
        return passwordSalt;
    }

    public void setPasswordSalt(Long passwordSalt) {
        this.passwordSalt = passwordSalt;
    }

    public Boolean getPasswordLogin() {
        return passwordLogin;
    }

    public void setPasswordLogin(Boolean passwordLogin) {
        this.passwordLogin = passwordLogin;
    }

    public Long getOptimisticLockVersion() {
        return optimisticLockVersion;
    }

    public void setOptimisticLockVersion(Long optimisticLockVersion) {
        this.optimisticLockVersion = optimisticLockVersion;
    }
}